package com.webside.trailerManagement.model;

import java.io.Serializable;
import java.util.Date;

public class VideoFromWebEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// id
	private Integer id;
	// 标题
	private String title;
	// 简介
	private String introduction;
	// 描述
	private String description;
	// 图片原始地址
	private String sourceCoverUrl;
	// 图片现在地址
	private String localCoverUrl;
	// 来源
	private String source;
	// 时长
	private String timeDuration;
	// 清晰度
	private String imgDefinition;
	// 分类
	private String type;
	// 详细页地址
	private String detailUrl;
	// 播放地址
	private String playUrl;
	// 上映时间
	private Date showDate;
	// 入库时间
	private Date createTime;
	private String status; //状态(上线下线)
	private String sName; //处理过后要显示的
	//播放次数
	private Integer playCount;
	//点赞数
	private Integer likeCount;
	//绑定状态
	private String bindStatus;
	//绑定Id
	private Integer bindId;
	private String channel;
	
	
	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public Integer getPlayCount() {
		return playCount;
	}

	public void setPlayCount(Integer playCount) {
		this.playCount = playCount;
	}

	public Integer getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}

	public String getBindStatus() {
		return bindStatus;
	}

	public void setBindStatus(String bindStatus) {
		this.bindStatus = bindStatus;
	}

	public Integer getBindId() {
		return bindId;
	}

	public void setBindId(Integer bindId) {
		this.bindId = bindId;
	}

	public String getsName() {
		if ("PUBLISHING".equals(this.status)) {
			return "下线";
		} else if ("PUBLISHED".equals(this.status)) {
			return "上线";
		}
		return sName;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSourceCoverUrl() {
		return sourceCoverUrl;
	}

	public void setSourceCoverUrl(String sourceCoverUrl) {
		this.sourceCoverUrl = sourceCoverUrl;
	}

	public String getLocalCoverUrl() {
		return localCoverUrl;
	}

	public void setLocalCoverUrl(String localCoverUrl) {
		this.localCoverUrl = localCoverUrl;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getTimeDuration() {
		return timeDuration;
	}

	public void setTimeDuration(String timeDuration) {
		this.timeDuration = timeDuration;
	}

	public String getImgDefinition() {
		return imgDefinition;
	}

	public void setImgDefinition(String imgDefinition) {
		this.imgDefinition = imgDefinition;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDetailUrl() {
		return detailUrl;
	}

	public void setDetailUrl(String detailUrl) {
		this.detailUrl = detailUrl;
	}

	public String getPlayUrl() {
		return playUrl;
	}

	public void setPlayUrl(String playUrl) {
		this.playUrl = playUrl;
	}

	public Date getShowDate() {
		return showDate;
	}

	public void setShowDate(Date showDate) {
		this.showDate = showDate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}




}
